import { IUI, Leafer } from "leafer-ui";

export class LeaferMain {
  #leafer: Leafer;
  constructor(id: string) {
    this.#leafer = new Leafer({ view: "windowCanvas", fill: "#000" });
  }
  add(ui: IUI) {
    this.#leafer.add(ui);
  }
  getLeafer() {
    return this.#leafer;
  }
}
